翻訳と辞書 |
OLE Automation : ウィキペディア英語版 | OLE Automation
In Microsoft Windows applications programming, OLE Automation (later renamed to simply Automation〔(【引用サイトリンク】title=Automation (MFC) )〕) is an inter-process communication mechanism created by Microsoft. It is based on a subset of Component Object Model (COM) that was intended for use by scripting languages – originally Visual Basic – but now are used by several languages on Windows. All automation objects are required to implement the IDispatch interface. It provides an infrastructure whereby applications called ''automation controllers'' can access and manipulate (i.e. set properties of or call methods on) shared ''automation objects'' that are exported by other applications. It supersedes Dynamic Data Exchange (DDE), an older mechanism for applications to control one another.〔(【引用サイトリンク】title=Using OLE Automation to Control WordPerfect ) — McComb describes how to use OLE Automation instead of DDE to control WordPerfect〕 As with DDE, in OLE Automation the automation controller is the "client" and the application exporting the automation objects is the "server". Contrary to its name, automation objects do not necessarily use Microsoft OLE, although some of Automation objects can be used in OLE environments. The confusion has its roots in Microsoft's earlier definition of OLE, which was previously more or less a synonym of COM. == Advantages and limitations == To ensure interoperability, automation interfaces are limited to use a subset of all COM types.〔Microsoft MSDN: (oleautomation attribute )〕〔Microsoft MSDN: (Automation-Compatible Types )〕 Specifically, automation interfaces must use SAFEARRAY instead of raw COM arrays. Automation-compatible COM servers can, however, rely on the in-built OLE marshalling implementation.〔Microsoft MSDN: (Marshaling Details (COM) Type Library Marshaling community additions )〕 This avoids the need for additional proxy/stub projects for marshalling out-of-process.
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「OLE Automation」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|